# -*- mode: python; -*-

env = DefaultEnvironment().Clone()

vpath = '#/third_party/pugixml/src'

env.VariantDir('#/' + Dir('.').path + '/src', vpath)
pugixml_buildpath = Dir('.').abspath + '/src'

lib = env.Library('pugixml', pugixml_buildpath + '/pugixml.cpp')

env.Install('#/build/lib/', env['LIBPREFIX'] + 'pugixml' + env['LIBSUFFIX'])
env.Install('#/build/include/pugixml', vpath + '/pugixml.hpp')
env.Install('#/build/include/pugixml', vpath + '/pugiconfig.hpp')
